﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BFlatCompile.Serializer
{
	internal static class Phase27SerializeStackInfoStringTable
	{
		public static string Do(Compiler compiler)
		{
			UniqueStringByIdTable table = compiler.StackTraceTokenTable;
			string[] entries = table.GetTable();

			return Util.CreateStringTable(compiler, entries);
		}
	}
}
